package com.imooc.alllearning.service;

import com.imooc.alllearning.domain.dto.UserQueryDTO;

/**
 * Excel到处服务类
 * @Author: crowsjian
 * @Date: 2020/4/1 22:48
 */
public interface ExcelExportService {
    /**
     * 导出服务
     * @param query
     * @param filename
     */
    void export(UserQueryDTO query, String filename);

    /**
     * 异步导出服务
     * @param query
     * @param filename
     */
    void asyncExport(UserQueryDTO query, String filename);
}
